import request from '@/utils/http.js'

//登录
export const login = params => request('post','mini/userInfo/login',params)

//找回密码
export const retrievePassword = params => request('post','mini/userInfo/retrievePassword',params)

//手机验证码登录
export const codeLogin = params => request('post','mini/userInfo/codeLogin',params)

//发送手机验证码登录的验证码
export const getLoginCode = params => request('post','mini/userInfo/getLoginCode',params)